# Function to upload a file to an S3 bucket